

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TbYIDEINVParams;

namespace JYJ.AiYard.EntityMapper.TbYIDEINVParamss
{
    public class TbYIDEINVParamsCfg : IEntityTypeConfiguration<TbYIDEINVParams>
    {
        public void Configure(EntityTypeBuilder<TbYIDEINVParams> builder)
        {

            builder.ToTable("Tb_YIDEINVParams", YoYoAbpefCoreConsts.SchemaNames.Dbo);
                
            
			builder.Property(a => a.Station_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.Client_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.YIDE_mch_type).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length16);
            builder.Property(a => a.YIDE_type).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length16);
            builder.Property(a => a.YIDE_mch_name).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.YIDE_mch_appid).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.YIDE_mchPrivateKey).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.YIDE_platPublicKey).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.YIDE_req_url).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.YIDE_version).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.YIDE_Ip).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.YIDE_back_url).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			//builder.Property(a => a.YIDE_Reutrn_url).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.YIDE_Stop).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


